Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for borders #178

Open
wants to merge 1 commit into
base: 2.x
Choose a base branch
from

Conversation

caendesilva
Copy link

Hey! Here's my initial work on border support (fixing #177)

I've created the base logic, and think that it would be best if I could get some maintainer help to make sure it gets fully integrated with how the rest of the Termwind framework is supposed to work.

I think since the rendering logic is kinda complex it could make sense to have this as a pseudo-element rather than a style, but that's something that's up to you. I put the heavy logic in an action class to make it more self-contained depending on how you want to handle it. I have not yet added support for colours as I just want to know if I'm on the right track first.

@caendesilva caendesilva marked this pull request as ready for review November 27, 2023 16:38
@xiCO2k
Copy link
Collaborator

xiCO2k commented Jan 3, 2024

Hey @caendesilva thanks for the PR.

I would say we need to have the same api, with the rounded border border-{color}` and I would not have the padding by default.

Can you make this adjustments?

Thanks and sorry for the delay reviewing your PR.

@xiCO2k xiCO2k changed the base branch from 1.x to 2.x January 3, 2024 08:54
@caendesilva
Copy link
Author

Hey @caendesilva thanks for the PR.

I would say we need to have the same api, with the rounded border border-{color}` and I would not have the padding by default.

Can you make this adjustments?

Thanks and sorry for the delay reviewing your PR.

Hey! I'll try, I need to learn more about how the other components work so may take some time

@xiCO2k
Copy link
Collaborator

xiCO2k commented Jan 3, 2024

no worries, any question let me know.

Thanks, Francisco.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants